package com.lcredu.lcrliving.commodity.vo;

import com.lcredu.lcrliving.commodity.entity.SkuInfoEntity;
import lombok.Data;

import java.util.List;

/**
 * @author kirito
 * @create 2023-12-13 8:59
 * 检索返回的Vo对象,根据业务需求设计
 */
@Data
public class SearchResult {
    //查询到所有的家居商品信息
    private List<SkuInfoEntity> commodity;

    //当前页
    private Integer pageNum;

    //总记录数
    private Long total;

    //总页码
    private Integer totalPages;

    //分页导航条的数据
    private List<Integer> pageNavs;

    //关键字
    private String keyword;
}
